package com.runshu.runshuwulian.base.baselistfragment;

abstract public class BaseListHelper {
    public static int PAGE_SIZE = 10;
    public int currentPage = 0;

    public void refreshData() {
        currentPage = 0;
        getData( true );
    }

    public void loadMore() {
        currentPage++;
        getData( false );
    }

    public abstract void getData(boolean isRefresh);
}
